package org.csq.service;

import org.csq.controller.dto.PageDTO;
import org.csq.entity.PageResult;

import java.util.List;
import java.util.Map;

public interface MetadataService {
    PageResult getDataByTableName(String tableName, Map<String, Object> query, PageDTO page);

    Map<String, Object> saveData(String tableName, Map<String, Object> data);

    Integer deleteByIds(String tableName, List<Object> ids);

    List<Map<String, Object>> getMetadataByTableName(String tableName);
}
